/*
 * Copyright (C) 2021 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain an copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.dev.widget.ui.tag;

import ohos.agp.utils.Color;

/**
 * Constants
 *
 * @author jiaojunying
 * @since 2021-03-22
 */
public class Constants {
    /**
     * DEFAULT_LINE_MARGIN
     */
    public static final float DEFAULT_LINE_MARGIN = 5;
    /**
     * DEFAULT_TAG_MARGIN
     */
    public static final float DEFAULT_TAG_MARGIN = 5;
    /**
     * DEFAULT_TAG_TEXT_PADDING_LEFT
     */
    public static final float DEFAULT_TAG_TEXT_PADDING_LEFT = 8;
    /**
     * DEFAULT_TAG_TEXT_PADDING_TOP
     */
    public static final float DEFAULT_TAG_TEXT_PADDING_TOP = 5;
    /**
     * DEFAULT_TAG_TEXT_PADDING_RIGHT
     */
    public static final float DEFAULT_TAG_TEXT_PADDING_RIGHT = 8;
    /**
     * DEFAULT_TAG_TEXT_PADDING_BOTTOM
     */
    public static final float DEFAULT_TAG_TEXT_PADDING_BOTTOM = 5;
    /**
     * LAYOUT_WIDTH_OFFSET
     */
    public static final float LAYOUT_WIDTH_OFFSET = 2;
    /**
     * DEFAULT_TAG_TEXT_SIZE
     */
    public static final float DEFAULT_TAG_TEXT_SIZE = 14f;
    /**
     * DEFAULT_TAG_DELETE_INDICATOR_SIZE
     */
    public static final float DEFAULT_TAG_DELETE_INDICATOR_SIZE = 14f;
    /**
     * DEFAULT_TAG_LAYOUT_BORDER_SIZE
     */
    public static final float DEFAULT_TAG_LAYOUT_BORDER_SIZE = 0f;
    /**
     * DEFAULT_TAG_RADIUS
     */
    public static final float DEFAULT_TAG_RADIUS = 100;
    /**
     * DEFAULT_TAG_LAYOUT_COLOR
     */
    public static final int DEFAULT_TAG_LAYOUT_COLOR = Color.getIntColor("#AED374");
    /**
     * DEFAULT_TAG_LAYOUT_COLOR_PRESS
     */
    public static final int DEFAULT_TAG_LAYOUT_COLOR_PRESS = Color.getIntColor("#88363636");
    /**
     * DEFAULT_TAG_TEXT_COLOR
     */
    public static final int DEFAULT_TAG_TEXT_COLOR = Color.getIntColor("#ffffff");
    /**
     * DEFAULT_TAG_DELETE_INDICATOR_COLOR
     */
    public static final int DEFAULT_TAG_DELETE_INDICATOR_COLOR = DEFAULT_TAG_TEXT_COLOR;
    /**
     * DEFAULT_TAG_LAYOUT_BORDER_COLOR
     */
    public static final int DEFAULT_TAG_LAYOUT_BORDER_COLOR = DEFAULT_TAG_TEXT_COLOR;
    /**
     * DEFAULT_TAG_DELETE_ICON
     */
    public static final String DEFAULT_TAG_DELETE_ICON = "×";
    /**
     * DEFAULT_TAG_IS_DELETABLE
     */
    public static final boolean IS_DEFAULT_TAG_DELETABLE = false;

    private Constants() throws InstantiationException {
        throw new InstantiationException("This class is not for instantiation");
    }
}
